// scrollbar
.app-main {
  .el-scrollbar__view {
    height: 100%;
  }

  .el-scrollbar__wrap {
    overflow-x: auto !important;
    overflow-y: auto !important;
  }

  //设置滚动条固定显示，不再是focus或hover下才显示
  .el-scrollbar__bar {
    opacity: 1;
    transition: opacity 340ms ease-out;
  }
}

// tab
.el-tabs__header {
  margin-bottom: 9px;
}

.el-tabs__content {
  height: calc(100% - 49px);

  .el-tab-pane {
    height: 100%;
  }
}

// form
.el-form-item {
  margin-bottom: 7px !important;
}

.line-input {
  input {
    resize: none;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #606266;
  }
}

.el-input__inner {
  padding: 0 5px !important;
}

.el-input-group__append, .el-input-group__prepend {
  padding: 0 7px;
}

// card
.el-card__header {
  padding: 8px 10px;
}

.el-card__body {
  padding: 8px 10px;
}

// table
.el-table .cell {
  padding-left: 5px !important;
  padding-right: 5px !important;

  .el-tag + .el-tag {
    margin-left: 3px;
  }
}

.el-table--medium td, .el-table--medium th {
  padding: 1px 0;
}

.el-table .cell, .el-table th div {
  padding-right: 5px;
}

.el-table .cell, .el-table th div, .el-table--border td:first-child .cell, .el-table--border th:first-child .cell {
  padding-left: 5px;
}

// dialog
.el-dialog__header {
  padding: 16px 15px 15px 15px;
}

.el-dialog__body {
  padding: 5px 15px 10px 15px;
}

.el-dialog__footer {
  padding: 5px 15px 15px 15px;
}

// button
.single-icon-button {
  width: 40px;
}
